package InterFaceIModel;
import java.util.List;

import android.content.ContentValues;
import android.content.Context;

public interface IThuchiModel {

	//get
	long getId();
	long getNgaychi();
	String getGhichu();
	String getKhoanchi();
	double getSotien();
	ILoaiThuChi getLoaiThuChi();
	//set
	void setId(long id);
	void  setNgaychi(long ngaychi);
	void setKhoanchi(String khoanchi);
	void setSotien(double sotien);
	void setLoaiThuchi(ILoaiThuChi loaiThuChiModel);
	void setGhichu(String ghichu);
	//method
	long insert(IThuchiModel model,Context context);
	int update(IThuchiModel model,Context context);
	List<IThuchiModel>getAll(Context context);
	int delete(Context context,long id);
}
